﻿@{
    ViewBag.Title = "发表糗事";
    Layout = "~/Views/DefaultLayout.cshtml";
}
<script type="text/javascript">
    $(function () {
        $("#msg").focus();
    });
</script>
<form action="/Message/PostMessage" method="post" enctype="multipart/form-data">
    你要发表的糗事：<br />
    <textarea name="msg" id="msg" rows="10" cols="80"></textarea>
    <br />
    <input type="checkbox" name="isAnonymous" id="isAnonymous" /><label for="isAnonymous">匿名发表</label><br />
    您可以选择一张图片：<input type="file" name="imgFile" id="imgFile" /><br />
    <input type="submit" value="发表" />
</form>
